import urlHook from "@page/common/utils/urlHook";



export default function ChoosePro(props) {

    return(
        <div className={'zen_m-t-40'}>
            <p className={'zen-fs-16 zen_0093EB'}>选择商品</p>
            <div className={'bid-inputbid-choose'}>
                <p>请选择要参与竞价的商品</p>
                <div
                    onClick={props.showProductModal}
                    className={'bid-inputbid-choose-btn'}>
                    选择商品
                </div>
            </div>

            <div className={'bid-inputbid-add'}>
                <span className={'bid-inputbid-add-span'}>如果您的商品库中没有该商品，您可以从这里</span>
                <span
                    className={'bid-inputbid-add-span1'}
                    onClick={()=>{
                        const proId=$state.params.id
                        window.open(urlHook.suppAddProduct(proId))
                    }}>
                    新增商品</span>
            </div>
        </div>
    )
}

